home *** CD-ROM | disk | FTP | other *** search
/ 100 Great Games for Palm OS 2 / PalmV2012301.ISO / top100.dxr / 00013_Script_launch program < prev    next >
Text File  |  2000-06-29  |  817b  |  31 lines

  1. on mousedown
  2.   put false into LaunchedApp
  3.   if getfileattribute ("c:\palm.ini",2) = -1 then
  4.     writeini ("c:\palm.ini", " ", " ", " ")
  5.     put true into launchedapp
  6.     
  7.     open "setup.exe"
  8.     QUIT
  9.     
  10.     --    set myCaption = "Setup in Progress"
  11.     
  12.     --   set myText=  "Pleae wait a few minutes as the setup program is preparing your system to run 100 Great Games for the Palm Computing« Platform. Once Setup is complete you will be returned to this screen; then, click OK to launch this program or click CANCEL to quit."
  13.     
  14.     
  15.     -- set res = MessageBox(myText, myCaption, 3,3)
  16.     
  17.     --OK selected
  18.     --if res = 1 then 
  19.     --  open "games.exe"
  20.     --   quit
  21.     --else quit
  22.     
  23.   end if
  24.   
  25.   if LaunchedApp = false then
  26.     open "launch.bat"
  27.     quit
  28.   end if
  29. end
  30.  
  31.